
<!-- Copyright 2014 Intel Corporation, All Rights Reserved.

 Licensed under the Apache License, Version 2.0 (the"License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
 --> 

{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "MDS Status" %}{% endblock %}

{% block page_header %}
  {% include "horizon/common/_page_header.html" with title=cluster.title %}
  <link href="{{ STATIC_URL }}dashboard/css/common.css" rel="stylesheet">
   <link href="{{ STATIC_URL }}dashboard/css/mdsstatus.css" rel="stylesheet">
{% endblock page_header %}

{% block main %}
	 <div class="vsm-summary" >
    <h3 class="table_title">{% trans "MDS Summary" %}</h3>
    <div class = "vsm-summary-content">
      <div class="form-group">
        <label class="control-label">{% trans "Epoch" %}</label>
        <label id ="lblEpoch" class="control-label">--</label>
      </div>
      <div class="form-group">
        <label class="control-label">{% trans "Up" %}</label>
        <label id ="lblUp" class="control-label">--</label>
      </div>
      <div class="form-group">
        <label class="control-label">{% trans "In" %}</label>
        <label id ="lblIn" class="control-label">--</label>
      </div>
       <div class="form-group">
        <label class="control-label">{% trans "Max" %}</label>
        <label id ="lblMax" class="control-label">--</label>
      </div>
      <div class="form-group">
        <label class="control-label">{% trans "Failed" %}</label>
        <label id ="lblFailed" class="control-label">--</label>
      </div>
      <div class="form-group">
        <label class="control-label">{% trans "Stopped" %}</label>
        <label id ="lblStopped" class="control-label">--</label>
      </div>
    </div>
  </div>  
    


    {{ table.render }}
{% endblock %}

{% block js %}
    {{ block.super }}
     <script src='{{ STATIC_URL }}dashboard/js/mdsstatus.js' type='text/javascript' charset='utf-8'></script>   
{% endblock %}

